package com.whuan.user.service;


import com.whuan.user.dataObject.User;
import com.whuan.user.dto.UserDTO;
import com.whuan.user.form.UserForm;

public interface UserService {
    /**
     * create by: whaun
     * create date:  2019/5/19 time:11:38
     * description: 根据用户ID查询用户
     */
    User findByUserId(String userId);

    /**
     * create by: whaun
     * create date:  2019/5/19 time:11:38
     * description:根据用户名、密码查询ID
     */
    User findByUserForm(UserForm userForm);

    User save(UserDTO userDTO);


}
